package com.wanban.download.listener

import com.wanban.download.model.Ts

/**
 * 文件下载回调
 */
interface OnTsDownloadListener {

    fun onProgress(ts: Ts, speed: Long)
    fun onError(ts: Ts, errorMsg: String)
    fun onComplete(ts: Ts, tsLength: Long)

}